{extend name="public/base" /}
{block name="body"}
<div class="layui-fluid">
    <div class="layui-row">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
			<div class="widget-head">
				<div class="widget-title">修改资料</div>
			</div>
			<form id="my-form" class="layui-form" method="post">
				<div class="widget-body layui-col-lg12">					
					<div class="layui-form-item">
						<label class="layui-form-label">用户名</label>
						<div class="layui-input-block" style="line-height: 38px">
							{$info.username}
						</div>
					</div>					
					<div class="layui-form-item">
						<label class="layui-form-label">密码</label>
						<div class="layui-input-block">
							<input type="password" class="layui-input" name="desc" value="" placeholder="请输入密码">
						</div>
					</div>					
					<div class="layui-form-item">
						<label class="layui-form-label">昵称</label>
						<div class="layui-input-block">
							<input type="text" class="layui-input" name="nickname" value="{$info.nickname}" placeholder="请输入昵称">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">邮箱</label>
						<div class="layui-input-block">
							<input type="text" class="layui-input" name="email" value="{$info.email}" placeholder="请输入邮箱">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">手机</label>
						<div class="layui-input-block">
							<input type="text" class="layui-input" name="mobile" value="{$info.mobile}" placeholder="请输入手机">
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-input-block">
							<input type="hidden" name="id" value="{$info.id}">
							<button class="layui-btn" lay-filter="*" lay-submit="">保存</button>
                    		<button class="layui-btn layui-btn-primary" onclick="javascript:history.back(-1);return false;">返回</button>
						</div>						
					</div>
				</div>
			</form>
		</div>
    </div>
</div>
{/block}